
#include "session.h"


session::session(in_port_t client_port, uint32_t client_addr)
{
	m_client_port = client_port;
	m_client_addr = client_addr;
	m_status = session::NEW_SESSION;
}

std::string& session::env() {
	return m_env;
}

std::string& session::value() {
	return m_value;
}

int& session::status() {
	return m_status;
}

in_port_t session::client_port() {
	return m_client_port;
}

uint32_t session::client_addr() {
	return m_client_addr;
}

